]> dgit.raspbian.org Git - gnome-shell.git/commit
userWidget: Fix avatar size
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 7 Mar 2019 12:39:17 +0000 (13:39 +0100)
committerMarco Trevisan <mail@3v1n0.net>
Tue, 12 Mar 2019 00:34:04 +0000 (00:34 +0000)
commitb90f4d29a4287a5786d76037b6fe3222ff86982e
tree9206ce443b438846774cf90f0b0007b32f6d49eb
parent47915f8c1117470e5351a8ec4e4bdac5e683498d
userWidget: Fix avatar size

The texture cache now returns an actor with an appropriate ClutterContent
rather than a ClutterTexture. That actor uses the CONTENT_SIZE request
mode, which means that it will unconditionally request the preferred size
of the content. That is, setting an explicit size no longer has an effect.

Fix this by making sure the image is already loaded with the desired
dimensions.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1024
js/ui/userWidget.js